<div class="container w-xxl w-auto-xs">
  <a href class="login-brand block m-t">请用 Crasheye 账户登陆</a>
  <div class="m-b-lg">
    <form name="form" class="form-validation">
      <div class="list-group list-group-sm">
        <div class="list-group-item">
          <input id = 'email' type="email" placeholder="邮箱" class="form-control no-border" ng-model="vm.credentials.email" required>
        </div>
        <div class="list-group-item">
          <input id = 'password' type="password" placeholder="密码" class="form-control no-border" ng-model="vm.credentials.password" required>
        </div>
      </div>
      <button type="submit" class="btn btn-lg btn-primary btn-block" ng-click="vm.login(vm.credentials)" ng-disabled='form.$invalid'>登陆</button>
      <div class="text-center m-t m-b"><a ng-href="http://www.crasheye.cn/forgotpwd">忘记密码?</a></div>
      <div class="line line-dashed"></div>
      <p class="text-center"><small>还没有账户吗?</small></p>
      <a ng-href="http://www.crasheye.cn/signup" class="btn btn-lg btn-inverse btn-block">注册账户</a>
    </form>
  </div>
</div>

